package nlp;

import java.util.ArrayList;
import java.util.StringTokenizer;

import edu.stanford.nlp.ling.TaggedWord;

public class TaggedUtterance {

	String textContent;
	String wholeTag;
	ArrayList<String> tags = new ArrayList<String>();

	ArrayList<TaggedWord> posTags;

	private void getAllTags() {
		StringTokenizer strTok = new StringTokenizer(wholeTag, "^|:.%-");
		while (strTok.hasMoreTokens()) {
			tags.add(strTok.nextToken());
		}
	}

	public TaggedUtterance(String line) {
		String tagged[] = line.split("\t");

		this.wholeTag = tagged[1];
		this.textContent = tagged[2];

		getAllTags();
	}

	public static void main(String args[]) {

		
	}
}
